package com.hzc.springchan.enums;

import com.hzc.springchan.constant.Business;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 操作枚举类
 * @author chen990627
 * @date 2022/09/07
 */
@Getter
@AllArgsConstructor
public enum LogOperation {

    USER_LOGIN("用户%s于%s登录了系统", Business.OperationLog.USER_LOGIN),

    PUT_USER_INFO("用户%s于%s修改了个人信息", Business.OperationLog.PUT_USER_INFO);

    private String format;

    private String operation;
}
